﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMasterPage.master" AutoEventWireup="true"
    CodeFile="EditAchievement.aspx.cs" Inherits="Modeling_Sub_Pages_NewsPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        #main
        {
            min-width: 1000px;
        }
        #center1
        {
            width: 1000px;
            min-height: 500px;
            padding-top: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        #center
        {
            width: 700px;
        }
        .toCenter
        {
            margin-left: auto;
            margin-right: auto;
        }
        .readMore
        {
            text-decoration: none;
            color: #3B7ABE;
            font-style: italic;
        }
        .readMore:hover
        {
            text-decoration: underline;
            color: #0066FF;
        }
        .readMore:visited
        {
            text-decoration: none;
            color: #3B7ABE;
            font-style: italic;
        }
        .textCenter
        {
            text-align: center;
        }
        .style1
        {
            height: 23px;
        }
        #left2
        {
            float: left;
            width: 275px;
            min-height: 500px;
        }
        #left2 table
        {
            width: 80%;
            margin-left: auto;
            margin-right: auto;

            border-top-width: thick; border-top-color: #FF9900; border-top-style: solid;
            border-bottom-width: thin; border-bottom-color: #FF9900; border-bottom-style: solid;
            border-left-width: thin; border-left-color: #FF9900; border-left-style: solid;
            border-right-width: thin; border-right-color: #FF9900; border-right-style: solid;
            border-top-right-radius: 7px;
            border-top-left-radius: 7px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <div id="center1">
        <div id="left2">
            <table>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Administrator/FacilitiesManagerment.aspx"
                            CssClass="LinkStyle1">Facilities Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Administrator/DepartmentManagerment.aspx"
                            CssClass="LinkStyle1">Department Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td  id="activeTD">
                        <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/Administrator/AchievementManagerment.aspx"
                            CssClass="activeLink">Achievement Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Administrator/SubjectManagerment.aspx"
                            CssClass="LinkStyle1">Subject Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Administrator/EmployeeManagerment.aspx"
                            CssClass="LinkStyle1">Employee Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Administrator/AccountManagerment.aspx"
                            CssClass="LinkStyle1">Account Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Administrator/ChangePassword.aspx"
                            CssClass="LinkStyle1">Change Password</asp:HyperLink>
                    </td>
                </tr>
            </table>
        </div>
        <div id="center">
            <table class="toCenter">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Label ID="lblTitle" runat="server" Text="Edit Achievements" Font-Size="20pt" ForeColor="#990033"></asp:Label>
                        <br />
                        <br />
                    </td>
                </tr>
                <tr>
                    <td width="120">
                        <strong>Title: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtFName" runat="server" Width="250"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please input Name!"
                            ControlToValidate="txtFName" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>        
                <tr>
                    <td>
                        <strong>Description: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtContent" runat="server" Width="400" Rows="15" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please input content!"
                            ControlToValidate="txtContent" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Image: </strong>
                    </td>
                    <td>
                        <asp:FileUpload ID="fuImage" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnSend" runat="server" Text="Send" ValidationGroup="checkVa" 
                            OnClick="btnSend_Click" Height="26px" />
                        <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
